stop if GitHub path is invalid