RE: [PATCH 2/5] reg.exe: Add path_get_key() to remove boilerplate