Update removekernel.sh

corrected the filtering during the execution of the dpkg command