should also strip trailing '/' from source uri