added IndexError exception for azure. Some information is not available right after vm deployment. It may take some time to retrieve the info.