Fixed issue with os-level profile activation overriding command line activation