greedy-deps-tests: grab the latest rev of buildhistory for the path, not in general

Signed-off-by: Christopher Larson <chris_larson@mentor.com>