wip: base_repository: fix create_cache

* does not cache if path exists
wip: command_line: ssnip: spec: add test cases