Fix some more issues with reading package local configuration, closes #205.

Complete the tests regarding this issue.