Make sure a path exists before using it as such. SQL Server instances (for example) would be valid but aren't real so it would only display the instance name and not the server