fix pathname lookup logic to always precede kpsewhich with pathname_find