Avoid warning + potential information disclosure

Thanks, brook2 @ HackerOne