try to find rebar executable in the imported directory