Fixes #4634 , issue where spaces in bundle ids crashed sugar

This patch also makes a very loud noise in sugar build and stops the build, alerting devs to their error.