Properly handle unmounted chroots.
Use return instead of continue.
Enforce prefix existence