I think I see now what you mean... let me just ask:  is purpose here to test whatever available scripts (locally or not) against this given version of nibabel?  if so, then no additional conditioning is needed.  If the purpose to scripts against some version of nibabel possibly system wide installed, then indeed conditioning on LOCAL_SCRIPT_DIR should indeed be done.