Check that project directory exists, not file