Improving search for build directory by checking their is a PerformanceReport directory present before using it

This means that the trend graph will continue to show when a build is in progress