Ticket #1105: Check if path is empty