Added default environment to getProjectSettings if not given