Fix bug; if a partition has no known type, don't derference a null 
pointer and crash.

2 files changed