Copy ZIP to /tmp only when we know we need to change it

Change-Id: If7ff7eaa0d4dd083b1801dc8102bee316ccf41d7