Make reset work again.

Don't expect tags to be defined in an exported tree. Trees must contain
branches and commits to work, those can therefore be expected. Tags is
optional, and to keep backward compatibility, don't expect those.

Signed-off-by: Max Sikström <msikstrom@op5.com>