Better handle the case where main is /