Dimensionality equivalents are only stored for non-prefixed units.

Before this change, the non-prefixed check was done to create the set
but not for adding.

- Fixed representation of Exception warning.
The cache for get_base_units is only for check_nonmult