diff --git a/meta/classes-recipe/rootfs.bbclass b/meta/classes-recipe/rootfs.bbclass
index d0c93abf..9c582c85 100644
--- a/meta/classes-recipe/rootfs.bbclass
+++ b/meta/classes-recipe/rootfs.bbclass
@@ -160,8 +160,10 @@ rootfs_cmd() {
     shift  # remove "--", command and its arguments follows
 
     # bin, lib and lib64 are only real directories on unmerged-usr rootfs
+    # Bind host directories on both merged and unmerged-usr systems.
     for ro_d in bin etc lib lib64 sys usr var; do
-        [ -d ${bwrap_rootfs}/${ro_d} ] && [ ! -L ${bwrap_rootfs}/${ro_d} ] || continue
+        [ -d ${bwrap_rootfs}/${ro_d} ] || continue
+        [ -z "${bwrap_rootfs}" ] || [ ! -L ${bwrap_rootfs}/${ro_d} ] || continue
         bwrap_args="${bwrap_args} --ro-bind ${bwrap_rootfs}/${ro_d} /${ro_d}"
     done
 
