Bug 944442 follow-up to check for null instead of rv error. r=me