helper function to validate input image paths
get_invalid_image_paths(vec)
vec
a vector of paths
vector of invalid paths from @vec