Check that project or workspace is set