system_path(): simplify using strip_path_suffix(), and add suffix "git"