Fix 4d3ed7a7db9dd34e97f80804d8edb7807f1c2e74

Regular images without extensions can be loaded again.