[PATCH v2] pactree: Use full dep string when finding dependencies