The automatic packaging phase runs before the before_deploy phase which is too early so we can rely on it.