My little girl Skittles does just the same, she did it a lot more when I first got her (about 3 months ago) but I just kept on making her take food from my hand and let her sniff my hand before I touched her again.
You do get a few hammy bites, but they're nothing compared to what you get from the constant patience of taming your hamster