Checking for ext_dir before sourcing.