Github: log invalid requests
Github: fix invalid condition

we should warn when there are not merged commits, not when there are no of them

* fix error message spacing
Github: fix error message