Check for empty cards array before looping over them.

The code assumed commerce_cardonfile_load_multiple_by_uid() would always return an array. It doesn't.