Failing test case for pkg.main pointing to a directory.
Fix for failing test case where pkg.main points to directory.
0.4.2