WIP quickfix for hg 5.8 and subrepos

Certainly not admissible in this form, breaks compat with previous
versions.

Also did not yet investigate similar problems not showing up in tests: this
one got catched by py-heptapod tests.
10 jobs for topic/default/hg58-subrepos in 2 minutes and 16 seconds (queued for 2 seconds)
latest