Update variants.py

The ```get_weight``` method should be applied to a ```PhysicalProduct``` since it could have no variants in some forks