Improve dummy module loading check