Remove package directory check