Fix non-deterministic application of PACKAGECONFIG