Wrap map() to return list()

In Python 3, the map() function returns an iterator.
In Python 2, it returned a list.

Use list(map()) to fix the test_update/test_update_suffix errors
in py33 env.

Change-Id: I9d122fb5edf055ae0110e3a445d10733a817d7d2