fixes to repo reset issues, preparation for ant/jenkins usage