[CDF-248]: Extension detection when listing solution files was not corre...

...ct