RF-13004: exclude resources libraries known to be excluded (optimizer, ckeditor)
fixed NPE in resource generation