Fix for resource disk detection