Fixing the getenv() logic that gets the power-cap config.