Fix issue where nexus rake task is always loaded on startup