Remove computation of pkg_index and req_map

because they are already passed into the `render_tree` function.
Merge pull request #15 from msabramo/remove_unnecessary_lines

Remove computation of pkg_index and req_map