Remove a broken import.
Do not try to remove children of nodes that do not exist.

Prosody sucks.