[COOK-3302] Fix hdiutil detach failure due to cfprefsd

Signed-off-by: Seth Vargo <sethvargo@gmail.com>