When distribution is ZIPped, it is renamed 'reference' first, see #159