Fix for the error when we have an already archived artifact.
Work in progress.
Autocreate projectbuilds when we get a build of a dependency of the projectbuild.
Merge forward.
Work in progress.