Check for project before attempting to delete