Fix building scripts

Please review this.

We fixed update deb script and update obs to fetch good name. I've also added a test for empty repository, so that we always push package if the repository is empty.
It prevent script from failing if we pushed nothing is the previous run.