Fixed broken geogit for local layers.
Fixed a few minor issues.