Pass a true null when no form is found

No-one sane would ever create a service with name '', but if it was created, we certainly do not want to inject it here.
Also removed unreachable code in findAliasBaseName(). This internal function is called with a fixed array of length 3.
Add test for the compiler pass
Fix formatting on FrontendManagerTagsCompilerPass