bin/gandalf: fixing regex to accept slash before repository name