fixed getOrInstallBlockType to work with new 5.6 return value