Only beep when there is a workspace

Some specs might not create one.
Upgrade find and replace to the deprecation-free 0.148.0