if realName does not exist, then fallback to regular require