Removed the need to store the project name.

This is more elegant and fixes an issue with renaming jobs causing
excessive load.