simplify and fix the encoding search by name functions
simplify and fix the encoding search by name functions

gagern/parrot,tkob/parrot,youprofit/parrot,tkob/parrot,youprofit/parrot,parrot/parrot,youprofit/parrot,tkob/parrot,gitster/parrot,gagern/parrot,parrot/parrot,youprofit/parrot,parrot/parrot,gitster/parrot,tkob/parrot,gagern/parrot,tkob/parrot,FROGGS/parrot,gitster/parrot,gagern/parrot,gitster/parrot,tkob/parrot,FROGGS/parrot,gitster/parrot,youprofit/parrot,FROGGS/parrot,youprofit/parrot,FROGGS/parrot,gagern/parrot,youprofit/parrot,parrot/parrot,tkob/parrot,youprofit/parrot,parrot/parrot,gagern/parrot,tkob/parrot,FROGGS/parrot,gitster/parrot,FROGGS/parrot,FROGGS/parrot,gitster/parrot,FROGGS/parrot,gagern/parrot