[PATCH] Improved error message when building or deploying outside of system branch