Don't join metadata twice in instance_get_all()

Change-Id: I2952243b093cda3d397f239ebe0db19246443a00