Split ListParser::NewDepends into two methods to use these new method