get-props: handle None sha1

sha1 can be None when repository has no tags/branches
and props for tags/branches are requested