clean-up to consume pants_target_type from depmap output

Testing Done:
added integration test is passing

Reviewed at https://rbcommons.com/s/twitter/r/1415/