Correctly read the epmap from the right place.
Merge pull request #5072 from unknownbrackets/psmf-epmap

Correctly read the epmap from the right place