Typescript-backbone: do not create item on empty input

This fix was missing for #919.