add hg and svn fields in source section for check

The check in builder/metadata.py fails if the recipe needs hg or svn.