The most accurate homing sequence, given that you have a servo motor and I am assuming standard encoder with index pulse is as follows:
Upon power up if home switch is not tripped, drive toward it until it is.
Upon tripping the home switch, drive away until the switch untrips.
Now continue to...