When building locally, if the finalise process fails, it might
happen that the old proc filesystem mounted for the chroot jail
is still there.
Unmount it before removing the old finaldir to prevent the script
to fail early.
Change-Id: I0ffe7c71ca3145202ffd5412434e6ce163df53fe