server: Fix failure on .png which GEGL could not sniff type of

Regression in extension logic introduced in f1b10ac,
but file is interesting as a test case regardless, as
normally GEGL should have understood it was a PNG from the content.