Repentance doesn't earn salvation, repentance is the means by which we accept salvation - through exercise of free will choice, plain and simple.
When Christians realize that choice is not "work" but is merely "thought", then they will cease from this confusion of a false dichotomy between faith and works. Thus, works have nothing to do with obtaining salvation, they are the evidence that salvation has been obtain - through repentance- and that is why the absence of works is evidence to the contrary.
1 John 2:3-4 KJV says it all. The problem is our love of sin refuses to allow us to accept what is written here, but if we look to the Cross and see what sin has done to Jesus, God will grant us a hatred of it...which is all He ever wanted for us to have.
Jesus said "this is the work of God, that you believe on Him who He has sent". So we understand that the work of God is through faith in Jesus Christ and faith through the Spirit. So work is no more work. Our work now is ministered by the Spirit and not of the flesh.