Improve the performance of accessing the prefix file. This helps for non-standard repository hierarchy.