Bugfix directory check