dim: some repo/remote refactoring

Jani Nikula
2017-10-03T13:38:40Z

I have more in store, but here's the first batch.

BR,
Jani.