Return an unknown release type if getting failed

Returning null is a silly idea.