[BUGFIX] Building and showing mapping information breaks

If no Indexable annotations are used, the use of a NULL value in a
foreach loop would break the code.

Also the mapping:showstatus would break on "complex" mapping settings
that are not simple strings.