Issue #8 - Add fallback for initializing repository when offline.

Added fallback to local resource when offline.
Fixed messy `toString` generated by lombock.