[BMK-1616] Fix bug in gpu metadata extraction, due to cases in which the nvidia-smi lib is available but the hw is not