Fix GetAncestors graph function
Fix GetAncestors graph function

Previously the funtion was not copying the ancestors
list causing a wrong aggregation of the ancestors. Ancestors
that was not valid candidates were remaining in the final list.

safchain/skydive,lebauce/skydive,lebauce/skydive,safchain/skydive,lebauce/skydive,safchain/skydive,redhat-cip/skydive,skydive-project/skydive,skydive-project/skydive,skydive-project/skydive,redhat-cip/skydive,fdebonneval/skydive,skydive-project/skydive,lebauce/skydive,fdebonneval/skydive,safchain/skydive,lebauce/skydive,lebauce/skydive,skydive-project/skydive,safchain/skydive,fdebonneval/skydive,redhat-cip/skydive,lebauce/skydive,safchain/skydive,safchain/skydive,skydive-project/skydive,lebauce/skydive,safchain/skydive,skydive-project/skydive