Correct hieradata check

Change-Id: I1103541b49760954b16ec4c689e2fee9ad7ac47a