Fix NPE issue with gates.json old migration

Also changes from version 1.7 to 1.7.0 to resolve updater issues