FIX #1748: -main-is wasn't handling the case of a single hierarchical module