Check for existence of controller class before creating definition
Merge pull request #1505 from isometriks/master

[ResourceBundle] Check for existence of controller class before creating definition