Revert "Use magit autorevert function"

This reverts commit 0cb33e47f418d659071a62dd3d2ddcf1c08ef5bf.