fix scaffold generator error message for option --assets=false

#9525 - simple generator fix