Add support for "add-local" without version name.

2nd try.
I'm sorry I messed up my git fork again while rebasing, so I've forked again.