Fixed problem when adding a new project

Signed-off-by: Malte Sussdorff <malte.sussdorff@cognovis.com>