Add option (-r) to read/store from local repository.