fix -r dirbased for remote repositories which cannot get have per-direct...

...ory history