Set package name to directory