fix empty ancestry strings in adopt-strategy

This is a fix for https://github.com/stefankroes/ancestry/issues/177