Avoid UnboundLocalError when there is no top file