Injector: Remove trailing slash, if detected