Fix for auto-switch of build strategy to local.