Fixed bug to handle the case better when the local header file is missing (part b).
Fixed bug to handle the case better when the local header file is missing (part b).

dnidever/PHOTRED,dnidever/PHOTRED