Static directory registration should be in order of packages are derived, so in
stead of async.map, changing to async.mapSeries.

Change-Id: Id99f2fca698bcf3b000dc41e0fb71fad15a4bd4e
Closes-Bug: #1370195