Fix bug in the `assignvars` object where getting the current value for an empty assignable variable would succeed