my-ert.el: fix up path function