Ukraine was storing nukes but did not have the keys to use them. They were useless to ukraine and presented no deterrent.
But yeah thats only if they wanted to try and spend the money to support a nuclear program. As they sat they were unreliable at best case.