list-targets: Only match exact basenames
Loose matching between board name and the entire path is
dangerous and is very likely to create false positives.
To fix this only an exact match between the specified
script name and its associated file will do.
Signed-off-by: Lee Jones <lee.jones@linaro.org>