Ensure that the last character on a directory is a "\" so when installing to "C:\MyApp" services under "C:\MyAppHelpers" are not found with the contains.

Another function with the same issue.