optionalapp: Only lookup optional app modules, don't import them

First attempt to only find the module rather than actually importing it,
to avoid circular references - only try to import if it can't be found
by find_module, which doesn't work with import hooks