Thread:Extension talk:UserFunctions/UserFunctions breaks maintenance/importImages.php

The UserFunctions extension breaks the importImages.php maintenance script:

Importing ******.mp3... Fatal error: Call to a member function getNamespace on a non-object in /var/******/extensions/UserFunctions/UserFunctions.php on line 84

I thus temporarily added if( is_object( $wgTitle ) ) to get it back to a working state.