Fixing bug where a non-installed module caused a crash.