Avoid warning + potential information disclosure

Thanks, b3hr0uz @ HackerOne!