Fix for error result in getWebPath() on non-existent images