assert imagePath type
Merge pull request #435 from juliangruber/assert-image-path

assert imagePath type