Added check for xenstore key existance before checking value

Change-Id: I12c5d094272747cbb0c8bcc40e43db1c0008d8eb
Merge "Added check for xenstore key existance before checking value"