unless ($stat->prepared) {
error 'Can\'t create ' . $stat->distribution . ' since it was never prepared -- aborting';
$stat->created(0);
unless ($stat->prepared) {
error 'Can\'t create ' . $stat->distribution . ' since it was never prepared -- aborting';
$stat->created(0);