checkdepends=(
  $(
    printf '%s\n' "${checkdepends[@]}" | \
      grep -vxF 'mongodb'
  )
)
eval "$(
  declare -f check | \
    sed '
      s/ pifpaf run mongodb \([^-]\S* \+\|--\S\+ \+\)*--//
    '
)"