Escape path for repository command with shellwords