Fix kernelspec test skip condition

The code actually tries to write to /usr/local/share, but the test was still checking for /usr/share. @minrk will test, as access to these differs on his machine.