On the electronic properties of YCo5−xNix