ciao-vendor: Fix gocyclo issue
ciao-vendor: Fix gocyclo issue

The code that computes the packages that need to be copied
from each synced repo has been split out into a separate function
called computeSubPackages.  Previously this code was part
of vendor.

Signed-off-by: Mark Ryan <f16215f7acd0bd7fdc465539215bd574c785b062@intel.com>

markdryan/ciao,01org/ciao,mcastelino/ciao,mcastelino/ciao,tpepper/ciao,jorgevgut/ciao,mrkz/ciao,matthewrsj/ciao,markdryan/ciao,erick0z/ciao,matthewrsj/ciao,mrkz/ciao,jorgevgut/ciao,erick0z/ciao,kaccardi/ciao,leoswaldo/ciao,obedmr/ciao,wcwxyz/ciao,ciao-project/ciao,ciao-project/ciao,wcwxyz/ciao,mcastelino/ciao,tpepper/ciao,leoswaldo/ciao,leoswaldo/ciao,erick0z/ciao,jorgevgut/ciao,matthewrsj/ciao,kaccardi/ciao,obedmr/ciao,obedmr/ciao,tpepper/ciao,01org/ciao,wcwxyz/ciao,mrkz/ciao,rbradford/ciao,rbradford/ciao