Fix misleading message when processing empty directories