Prevent PHP warning when having an empty root