Issue #3: Exit if directory is empty