Refactoring related to ERRAI-803: Avoid unnecessary work if no LESS styles exist