Checking for empty guid