minor style fixes
throw external exception to avoid logging in zentyal.log