interpret table names in context of mountPath and basePath (Fixes #198)

This can probably be inlined in backend as it's unlikely to be used in more than one place (although I could be wrong).