[PATCH 2/5] [programs/cmd] for loops lose subdirectory prefix