Ensuring `completion` exists before trying to call it

@mmorey 
Sorry, I missed this check in my latest contribution .. better late than never :wink: