Better error message when a target wasn't found.