Skip logic if _BOTH_ variables are set

@jkeshavarzi this fixes an error you introduced