Adding validation to stop debian users entering names with spaces

Validation has been added because of information I received from a bug regarding it.