fix: W was set to error string

should be nil for missing module (later code tests it for truthiness)