Raise error when trying to build a reader and mapper is missing

This won't happen when accessing readers from the env but it's good to
have this behavior nevertheless.