This is easy to get around, often the copyright will just be held by a contractor.
Unlike works of the U.S. government, works produced by contractors under government contracts are protected under U.S. copyright law . The holdership of the copyright depends on the terms of the contract and the type of work undertaken.