MDL-46705 frontpage: Check if course with same shortname already exists