Create .repo/local_manifests/ if it does not exist

Avoid the problems caused by the local_manifests
directory not existing by checking for it before we
try to write to it