Prevent 404 from userscript by stripping out everything after the repo name in the url