Make test runner handle empty dirs gracefully.