Merge pull request #1467 from abderrahim/artifact-meta

_artifact.py: don't consider an artifact cached if metadata is missing