Fix homepage detection in J!3.0