Only write version file if one already exists
Only build _deps zip file if deps directory exists