Fix issue if no push certificate or valid push certificate was configured (thanks to raymondmuller)