Test IsPushOnly() with invalid push
Merge pull request #4763

aa41ac2 Test IsPushOnly() with invalid push (Peter Todd)