Fix release path finding logic

It turns out that reltool makes releases of the form
NAME-VERSION and just VERSION