Fix source selector generator not ending with stylesheets using bad mimetype