Fix for os detect failure. Issue 4

This resolves an issue with the OS detect function. Now if the OS
is not detected, the script will bailout with exit code 1.

Reference : https://github.com/cloudnull/InstanceSync/issues/4