Adding character validation for joyent

Resolves #358.