Fix issue #2221
less.registerStylesheets() promise

squash logs