If project_root is set to an env variable, check it has actually been set