Properly handle 'none' as a defaultvalue

Fixes #63
Props to @Gravatronics