Fix bug with source resolver when dealing with unresolvable names and alter code for clarity and style.
Fix bug with source resolver when dealing with unresolvable names and alter code for clarity and style.

ste616/astrowebservices,ste616/astrowebservices