Fixing req #6087. Fatal error when creating an artifact

Change-Id: I4b301eea6378e11b8b5f8e172a7c9627f6837143
Merge commit 'refs/changes/22/1822/1' of ssh://gerrit.tuleap.net:29418/tuleap into tuleap-stable-master

* ssh://gerrit.tuleap.net:29418/tuleap:
  Fixing req #6087. Fatal error when creating an artifact

Change-Id: Iaaa04d388907cf53e3fa7579d26d00757c44b78d
Tuleap 6.9.99.49

Change-Id: I2e084a3179f0388e6f9ae576e02f2125e99bb587