Trim trailing slash from appDir path in settings.