Small performance optimisation in creating SunPy map.

Only create the map when opening a database file from the metadata
in the AstroImage instance, this is to save SunPy having to open the
fits file etc.