According to the wiki, it was discriminatory at the time because it generally meant that only union workers would get federal construction jobs, and unions did not admit African-Americans. As this is no longer the case with unions, it should in theory no longer be discriminatory - just wasteful.