Analysis of Modified Repetitive Control Schemes: the Port-Hamiltonian Approach