Fix test failures relating to artifact directory missing

see https://travis-ci.org/metricfu/metric_fu/builds/11808630