fix github url matcher
tweak spm test code
Merge branch 'standalone'
fix bugs field when spm init, fix #800