fix retrieval for source packages