Bugfix: Add trailing slash to path if there is none