After looking for a way to import Python modules when given a valid filepath I came across a description of a technique to do so here.
What I did not like about this approach was the use of null_module. In his approach you needed to have a module called null_module somewhere in your PYTHONPATH. This was then cloned and the information about the actual module you wish to report overwrites this module. In short, he was using null_module as a skeleton module for the import. This is unnecessary.
To do the entire import in a much nicer way you can simply do: