add check for relative local path to force 'local' flag