def METHOD_NAME(self):
    """Uses pkgutil to expand a flat package"""
    # pkgutil requires the dest. folder to be non-existant
    if os.path.exists(self.env["destination_path"]):
        try:
            shutil.rmtree(self.env["destination_path"])
        except OSError as err:
            raise ProcessorError(
                f"Can't remove {self.env['destination_path']}: {err.strerror}"
            )
    try:
        pkgutilcmd = [
            "/usr/sbin/pkgutil",
            "--expand",
            self.source_path,
            self.env["destination_path"],
        ]
        proc = subprocess.Popen(
            pkgutilcmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True
        )
        (_, stderr) = proc.communicate()
    except OSError as err:
        raise ProcessorError(
            f"pkgutil execution failed with error code {err.errno}: {err.strerror}"
        )
    if proc.returncode != 0:
        raise ProcessorError(
            f"extraction of {self.env['flat_pkg_path']} with pkgutil failed: "
            f"{stderr}"
        )