Fix #1546 : Disallow push when records can not be pushed
Merge pull request #720 from romainneutron/fix-1546

[3.8] Fix #1546 : Disallow push when records can not be pushed