Fix object listing for empty path