Only create empty_build if necessary.
Fixed name of aptly script.