Use ENV['BRANDING'] in environment.bat.erb instead of @build_type. Remove unnecessary @build_type variable.