Bugfix 938

This fix a bug about creating a new project with (e.g. "Test2.3") that led to the creation of an invalid namespace ("Test2.") .