Fix a tiny little bug on an exception raised when circular version dependency happens