script: fix CMBASE due to extra device folder