Fix delete remote refs

Add a test for _apply_pack of ReceivePackHandler
in order to test deleting a ref.