A white supremacist has become the first person in Australia sentenced to jail for doing a Nazi salute - but ended up spending just an hour in custody.