Small fix for check older installation

Small fix for check older installation