updated to work with configurations without zpool.cache as it's no longe...

On single zpool setups it's no longer required to have a spool.cache , so this adds a check. 
Problematic might be if one is going back to an old OS and the zpool.cache might be needed as it is now removed.