LPS-47596 Alloy Portlet - fix bug where controllerpath needs to be set first before you can register alloycontroller