Updated commit message:
The code for checking for a wrapped HFS+ volume looks at the wrong offset. The offset of the magic number for the wrapped volume is 0x7c, but vol is declared as a uint16 meaning the correct array index to check is 0x3e (see http://developer.apple.com/library/mac/#technotes/tn/tn1150.html)