Fix developer directory check