You can remove this check if you use `path.Join()` to join `*prefix` and `imp` below.