Clean up some clippy lints

1 job for admin-delete-stuff in 1 minute and 37 seconds
Status Job ID Name Coverage
  Test
failed #2100
test

00:01:37

 
Name Stage Failure
failed
test Test
    |
= note: `-D clippy::option-as-ref-deref` implied by `-D warnings`
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#option_as_ref_deref

error: aborting due to 2 previous errors

error: build failed
make: *** [Makefile:23: clippy] Error 101
ERROR: Job failed: exit code 1