add sanity check and bail if unsupported CHROOTDIR is used