try unmount dmg if it was mounted previously (e.g. user installed app and mounted dmg)
try unmount dmg if it was mounted previously (e.g. developer mounted dmg, installed app and forgot to unmount it)
Merge pull request #15 from nordligulv/master

unmount dmg in the start of the build