Refactor calculation of Standard bool up into GoPackage.

Rename local variable x to more a meaningful name goPackage.