Issue/12444 namespace exceptions

Fix #12444 

@bantu @DeepDiver1975 
The exception is not in any namespace ;)

And as per DeepDiver this is okay to be just replaced:
https://github.com/owncloud/core/issues/12444#issuecomment-64547800