Adding validation to stop debian users entering names with spaces

Fixes #779
Fix typo from previous commit
Somehow the templates were syntactically invalid? I dunno. Fixed.