Fix calls to get_module to not pass course ids as positions

In exceptions you should always use `%` substitution (see http://stackoverflow.com/a/4149231/2669626)

But yes, it's missing that.