Checks for double definition of deps