Fixed error in InitRD-detection-function