reconfigure: use bash
treeify: ensure the path has at least one component