modified to remove unpacked directory in the case of snapshot builds

Fixed #21