bug fix for namespaced project forking
improve tests for forking from namespaces

Change-Id: I0c343c03ee3f033641f9958030ac57d92296547d