The usual way to do this is to use an `Option` rather than a mutable variable:

    val image = Option(fragment.select("meta[property=og:image]").attr("content"))
    val nonFallback = image filter { _ contains conf.Configuration.facebook.imageFallback } getOrElse ""