bluenix script: do not push an empty dir on failure