Transform path to remove /var/lib