Fix for bug in handling of null file path/ext code for report modules