Omit base_tree if empty

Github API used to treat base_tree="" as "none", but in an update last week it started rejecting that input.  This change to omit the base_tree if empty causes it to work again.