Fixed issues with package directory.