cache: sanitize path when we check it
repository: solve checkout bug
sync: log if merge fails