Fix editboot path conversion when it happens to be in working dir

The previous code change broke the logic for relative
paths matching current dir.