Handling invalid namespace creation error

Fixes https://www.pivotaltracker.com/story/show/71698470