When we're in a nested VCS repo, take the innermost.

Fixes #20.