Make the path relative for lsregister