Added authentication to is_build_dir parser