Revert "getUserData is unnecessary"

This reverts commit 4e859adf5a4a4c01b00bf562e5326630aee18eab.
fix getUserData
fix VirtualEc2MetadataGetter
Merge pull request #8 from d9magai/fix_getUserData

Fix getUserData
Merge remote-tracking branch 'origin/master' into add_testcase