fixed push bug when remote changed

Signed-off-by: Oliver Pinter <oliver.pntr@gmail.com>