Fixed problem with less file handling if resource plugin is disabled.