Don't generate a scaffold.css when --no-assets is specified

This is back ported from master #9837