Remove unnecessary trailing slashes in path

https://bugzilla.gnome.org/show_bug.cgi?id=606324