Properly skip tests in packages directories.