Check if deploy is executed in a valid project