adding a check to ensure the value of newznab_home is valid