Fix KRE lookup path in .cmd files generated by "kpm pack"

parent #470