adjusted package dir getter