Fixing artifact path checking