pkgin up gets executed in the global zone and not inside the build zone

The semicolon ends the zlogin call and pkgin is executed in the global zone instead.

Quoting the complete command string will execute `pkgin up` inside the build zone.