Fix error when interprogram-cut-function unset