Ignore empty and slash-only path components