sh: fix romImage mach dir usage