Add same package search to reference finder and incorporate into normal indexing