Fix double slash issue when using `Gitify install-modx` with a subdir