ControllerFactory is throwing an exception when the value in Controller->getActions() is no array