WFLY-2962 Fix issue with the VFS resource manager