Hack: when we don't want the controller name to be mangled, we prepend it with '\' (pretending that the controller is in a namespace which effectively disables mangling). This code removes the extra slash.