Well I guess we shouldn't really end up with such paths here I think (at least not currently), but ideally perhaps we should do something like a s/^\.\/// regexp or so, i.e. stripping out this only if it's at the start of the string.