fixed error-checking for unmount. now checks if $builddir is set or not