Fix error when not specifying dtc_path, i.e. when using dtc from PATH.
Fix check for empty input_dir.
Automatically add trailing / to dtc_path and input_dir to avoid errors when paths are concatenated. Otherwise dtbtool command fails with a not so helpful error message.