Double Commit:
Static directory registration should be in order of packages are derived, so in
stead of async.map, changing to async.mapSeries
Change-Id: Ib19e4d57d67566fa1dfffe9cbae7e17c64aefd4b