Fixed bad exit state on package build completion