Prevent NullPointerException in MutexAction