MachineIP check should be done before using it.
Merge pull request #24 from nirmal070125/master

MachineIP check should be done before using it.