I think this needs to be an elif (or another "or" clause in the above guard) lest `not verify_prefix` would lead to duplicate appends.

Granted, I do not know what `not verify_prefix` would entail :)