Workaround for #46. We explictly handle the case where the input was set
to the empty string.