Fix iterating over load.dependencies.

It appears as though load.dependencies should be considered a sparse array.