diff --git a/meta-networking/recipes-support/open-vm-tools/open-vm-tools_13.1.0.bb b/meta-networking/recipes-support/open-vm-tools/open-vm-tools_13.1.0.bb
index 5739c05d72..b9823af891 100644
--- a/meta-networking/recipes-support/open-vm-tools/open-vm-tools_13.1.0.bb
+++ b/meta-networking/recipes-support/open-vm-tools/open-vm-tools_13.1.0.bb
@@ -117,7 +117,7 @@ INITSCRIPT_NAME:${PN} = "vmtoolsd"
 INITSCRIPT_PARAMS:${PN} = "start 90 2 3 4 5 . stop 60 0 1 6 ."
 
 python() {
-    if 'filesystems-layer' not in d.getVar('BBFILE_COLLECTIONS').split():
+    if not d.getVar('LAYERDIR_meta-oe-filesystems'):
         raise bb.parse.SkipRecipe('Requires meta-filesystems to be present to provide fuse.')
 }
 
