#353 Remove trailing slash from prefix