When multiple threads call `get_profile_module` at the same time, some of them may get an exception from koji. This should prevent the problem. Fixes: #253 Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>