Get modules list from loaded applications instead of :code.all_loaded