get_node() failes when no revision is specified
|Reported by:||pacopablo||Owned by:||hvr|
When a revision is not specified, None is passed to ls_tree. This then dies due to the None object not being valid on a command line.
Attached is a fix that substitutes HEAD for the revision when no revision is specified.