fix #284: don't co branch when SHA or PR provided