[CB-2931] If bad flag passed in to build script, treat as --debug