Fix trailing slash bug on GH